<!DOCTYPE html>
<html>
<head>
  <title>首页</title>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link href="css/normalize.css" rel="stylesheet" media="screen">
  <link href="js/bootstrap/css/bootstrap.css" rel="stylesheet" media="screen">
  <link rel="stylesheet" href="css/idangerous.swiper.css">
  <link href="css/common.css" rel="stylesheet">
  <link href="css/detail.css" rel="stylesheet">
  <link href="js/bootstrap/css/bootstrap-responsive.css" rel="stylesheet" media="screen">
</head>
<body>
  <style>

  </style>
  <!--导航栏  开始-->
  <div class="navbar navbar-inverse navbar-fixed-top">
    <div class="navbar-inner">
      <div class="container">
        <!-- .btn-navbar is used as the toggle for collapsed navbar content -->
        <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </a>

        <!-- Be sure to leave the brand out there if you want it shown -->
        <a class="brand" href="#">
          <img src="./img/logo.jpg" alt="">
        </a>

        <!-- Everything you want hidden at 940px or less, place within here -->
        <div class="nav-collapse collapse">
          <ul class="nav">
            <li class="active">
              <a href="#">首页</a>
            </li>
            <li>
              <a href="#">护肤</a>
            </li>
            <li>
              <a href="#">彩妆</a>
            </li>
            <li>
              <a href="#">商店</a>
            </li>
          </ul>

          <!--语言选择栏 开始-->
          <div class="btn-group pull-right">
            <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
              中文
              <span class="caret"></span>
            </a>
            <ul class="dropdown-menu">
              <!-- dropdown menu links -->
              <li><a href="#">中文</a></li>
              <li><a href="#">英文</a></li>
            </ul>
          </div>
          <!--语言选择栏 结束-->

          <div class="navbar-search pull-right">
            <input type="text" class="search-query span2" placeholder="搜索">
            <a href="#"><i class="icon-search"></i></a>
          </div>
          <!-- .nav, .navbar-search, .navbar-form, etc -->
        </div>

      </div>
    </div>
  </div>
  <!--导航栏  结束-->
  <!--内容范围 开始-->
  <section class="content-wrap">
    <div class="container">
      <div class="row-fluid main-content">
        <ul class="nav nav-pills">
          <li class="subtitle active">
            <a href="#">全部</a>
          </li>
          <li class="subtitle"><a href="#">新品</a></li>
          <li class="logo-cont"><img src="./img/logo.jpg" alt=""></li>
          <li class="subtitle"><a href="#">礼盒</a></li>
          <li class="subtitle"><a href="#">护肤技巧</a></li>
        </ul>
        <!--面包屑-->
        <ul class="breadcrumb">
          <li><a href="#">首页</a> <span class="divider">/</span></li>
          <li><a href="#">Library</a> <span class="divider">/</span></li>
          <li class="active">Data</li>
        </ul>
        <div class="span12 row-fluid" style="margin-left: 0px">
          <div class="span7">
            <!--轮播图 开始-->
            <!-- 注意：大图和预览图的图片顺序和数量要一致 -->
            <div class="pc-slide">
              <!--大图 开始-->
              <div class="view">
                <div class="swiper-container">
                  <a class="arrow-left" href="#"></a>
                  <a class="arrow-right" href="#"></a>
                  <div class="swiper-wrapper">
                    <!--可循环元素 开始-->
                    <div class="swiper-slide">
                      <a href="http://bbs.swiper.com.cn/forum.php?mod=viewthread&tid=1598&extra=" target="_blank">
                        <img src="http://via.placeholder.com/721x451">
                      </a>
                    </div>
                    <!--可循环元素 结束-->
                    <div class="swiper-slide">
                      <a href="http://bbs.swiper.com.cn/forum.php?mod=viewthread&tid=1598&extra=" target="_blank">
                        <img src="http://via.placeholder.com/721x451">
                      </a>
                    </div>
                    <div class="swiper-slide">
                      <a href="http://bbs.swiper.com.cn/forum.php?mod=viewthread&tid=1598&extra=" target="_blank">
                        <img src="http://via.placeholder.com/721x451">
                      </a>
                    </div>
                    <div class="swiper-slide">
                      <a href="http://bbs.swiper.com.cn/forum.php?mod=viewthread&tid=1598&extra=" target="_blank">
                        <img src="http://via.placeholder.com/721x451">
                      </a>
                    </div>
                  </div>
                </div>
              </div>
              <!--大图 开始-->
              <!--预览图 开始-->
              <div class="preview">
                <a class="arrow-left" href="#"></a>
                <a class="arrow-right" href="#"></a>
                <div class="swiper-container">
                  <div class="swiper-wrapper">
                    <!--可循环元素 开始-->
                    <div class="swiper-slide active-nav">
                      <img src="http://via.placeholder.com/126x79">
                    </div>
                    <!--可循环元素 结束-->
                    <div class="swiper-slide">
                      <img src="http://via.placeholder.com/126x79">
                    </div>
                    <div class="swiper-slide">
                      <img src="http://via.placeholder.com/126x79">
                    </div>
                    <div class="swiper-slide">
                      <img src="http://via.placeholder.com/126x79">
                    </div>
                  </div>
                </div>
              </div>
              <!--预览图 结束-->
            </div>
            <!--轮播图 结束-->
          </div>
          <div class="span5 description">
            <h3>水漾唇釉</h3>
            <span class="price">¥ 95,00 - 15G</span>
            <div class="type">
              <i class="type-text">COLOR</i>
              <div class="btn-group">
                <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
                  RED
                  <span class="caret"></span>
                </a>
                <ul class="dropdown-menu">
                  <!-- dropdown menu links -->
                  <li><a href="#">RED</a></li>
                  <li><a href="#">GREEN</a></li>
                </ul>
              </div>
            </div>
            <div class="distribution-cont">
              <div class="distribution-title">
                商品销售渠道
              </div>
              <hr/>
              <div class="contact">联系我们 +86 13000000000</div>
              <div class="row-fluid sns-contact">
                <a href="" class="span1">
                  <img src="./img/detail/contact-1.png" alt="">
                </a>
                <a href="" class="span1">
                  <img src="./img/detail/contact-2.png" alt="">
                </a>
                <a href="" class="span1">
                  <img src="./img/detail/contact-3.png" alt="">
                </a>
                <a href="" class="span1">
                  <img src="./img/detail/contact-4.png" alt="">
                </a>
              </div>
            </div>
          </div>
        </div>
        <div class="span12 video-block" style="margin-left: 0px">
          <div class="video-cont">
            <img src="http://via.placeholder.com/867x450">
            <h4>影片</h4>
          </div>
        </div>
        <!--商品描述 开始-->
        <div class="span12 product-detail" style="margin-left: 0px">
          <h3>商品描述</h3>
          <div class="span4" style="margin-left: 0px">
            <dl>
              <dt>说明</dt>
              <dd>宛如天鹅绒般的柔软丝滑质地，上唇非常水润轻薄，易推开。</dd>
            </dl>
          </div>
          <div class="span4">
            <dl>
              <dt>特点</dt>
              <dd>混合了蜡和植物油脂，富含荷荷芭油，甜杏仁油和维生素E，能有效滋润唇部。
                刷头：
                <br/>
                细密的植绒刷头，大小适宜，顺滑且十分好上手。
              </dd>
            </dl>
          </div>
          <div class="span4">
            <dl>
              <dt>规则</dt>
              <dd>编号：M21542-124
                <br/>
                大小:4cm*10CM
                <br/>
                重量:15G
              </dd>
            </dl>
          </div>
        </div>
        <!--商品描述 结束-->
        <!--相关产品 开始-->
        <div class="span12 row-fluid product-row" style="margin-left: 0px">
          <h3>相关产品</h3>
          <!--可循环部分 开始-->
          <div class="span4 product-item" style="margin-left: 0px">
            <img src="http://via.placeholder.com/380x330">
            <div class="text-cont">
              <div class="name-price">
                <span class="name">花漾乳液</span>
                <span class="price">¥ 260.00 - 100ML</span>
              </div>
            </div>
          </div>
          <!--可循环部分 结束-->
          <div class="span4 product-item">
            <img src="http://via.placeholder.com/380x330">
            <div class="text-cont">
              <div class="name-price">
                <span class="name">花漾乳液</span>
                <span class="price">¥ 260.00 - 100ML</span>
              </div>
            </div>
          </div>
          <div class="span4 product-item">
            <img src="http://via.placeholder.com/380x330">
            <div class="text-cont">
              <div class="name-price">
                <span class="name">花漾乳液</span>
                <span class="price">¥ 260.00 - 100ML</span>
              </div>
            </div>
          </div>
        </div>
        <!--相关产品 结束-->
        <!--最近 开始-->
        <div class="span12 row-fluid product-row" style="margin-left: 0px">
          <h3>最近</h3>
          <!--可循环部分 开始-->
          <div class="span2 lastest-product" style="margin-left: 0px">
            <img src="http://via.placeholder.com/191x166">
            <div class="text-cont">
              <div class="name-price">
                <span class="name">花漾乳液</span>
                <span class="price">¥ 260.00 - 100ML</span>
              </div>
            </div>
          </div>
          <!--可循环部分 结束-->
          <div class="span2 lastest-product">
            <img src="http://via.placeholder.com/191x166">
            <div class="text-cont">
              <div class="name-price">
                <span class="name">花漾乳液</span>
                <span class="price">¥ 260.00 - 100ML</span>
              </div>
            </div>
          </div>
          <div class="span2 lastest-product">
            <img src="http://via.placeholder.com/191x166">
            <div class="text-cont">
              <div class="name-price">
                <span class="name">花漾乳液</span>
                <span class="price">¥ 260.00 - 100ML</span>
              </div>
            </div>
          </div>
          <div class="span2 lastest-product">
            <img src="http://via.placeholder.com/191x166">
            <div class="text-cont">
              <div class="name-price">
                <span class="name">花漾乳液</span>
                <span class="price">¥ 260.00 - 100ML</span>
              </div>
            </div>
          </div>
          <div class="span2 lastest-product">
            <img src="http://via.placeholder.com/191x166">
            <div class="text-cont">
              <div class="name-price">
                <span class="name">花漾乳液</span>
                <span class="price">¥ 260.00 - 100ML</span>
              </div>
            </div>
          </div>
          <div class="span2 lastest-product">
            <img src="http://via.placeholder.com/191x166">
            <div class="text-cont">
              <div class="name-price">
                <span class="name">花漾乳液</span>
                <span class="price">¥ 260.00 - 100ML</span>
              </div>
            </div>
          </div>
        </div>
        <!--最近 结束-->
      </div>
    </div>
  </section>
  <!--内容范围 结束-->
  <footer>
    <div class="container">
      <div class="row-fluid">
        <div class="span4 footer-item">
          <hr/>
          <div class="btn-cont">
            <a class="btn btn-link" href="#">关于我们</a>
          </div>
          <div class="btn-cont">
            <a class="btn btn-link" href="#">联系我们</a>
          </div>
        </div>
        <div class="span4 footer-item">
          <hr/>
          <h3>关注我们</h3>
          <div class="share-cont">
            <div class="row-fluid">
              <div class="span6">
                <a href="#" class="btn-wechat"><img src="./img/share-wechat.png" alt=""></a>
              </div>
              <div class="span6">
                <a href="#" class="btn-weibo"><img src="./img/share-weibo.png" alt=""></a>
              </div>
            </div>
          </div>
        </div>
        <div class="span4 footer-item">
          <hr/>
          <h3>电子通讯</h3>
          <div class="email-cont">
            <p>率先获取最新作品的信息及各领域的独家消息</p>
            <div class="input-cont clearfix">
              <i class="icon-envelope"></i>
              <input type="text" placeholder="请输入您的邮箱">
              <a class="email-btn">确定</a>
            </div>
            </form>
          </div>
        </div>
      </div>
      <span class="case-num">ICP备案123456789号</span>
    </div>
  </footer>
  <script src="http://code.jquery.com/jquery.js"></script>
  <script src="js/bootstrap/js/bootstrap.min.js"></script>
  <script src="js/idangerous.swiper.min.js"></script>
  <!--轮播图 js-->
  <script>
    var viewSwiper = new Swiper('.view .swiper-container', {
      onSlideChangeStart: function () {
        updateNavPosition()
      }
    })

    $('.view .arrow-left,.preview .arrow-left').on('click', function (e) {
      e.preventDefault()
      if (viewSwiper.activeIndex == 0) {
        viewSwiper.swipeTo(viewSwiper.slides.length - 1, 1000);
        return
      }
      viewSwiper.swipePrev()
    })
    $('.view .arrow-right,.preview .arrow-right').on('click', function (e) {
      e.preventDefault()
      if (viewSwiper.activeIndex == viewSwiper.slides.length - 1) {
        viewSwiper.swipeTo(0, 1000);
        return
      }
      viewSwiper.swipeNext()
    })

    var previewSwiper = new Swiper('.preview .swiper-container', {
      visibilityFullFit: true,
      slidesPerView    : 4,
      onlyExternal     : true,
      onSlideClick     : function () {
        viewSwiper.swipeTo(previewSwiper.clickedSlideIndex)
      }
    })

    function updateNavPosition() {
      $('.preview .active-nav').removeClass('active-nav')
      var activeNav = $('.preview .swiper-slide').eq(viewSwiper.activeIndex).addClass('active-nav')
      if (!activeNav.hasClass('swiper-slide-visible')) {
        if (activeNav.index() > previewSwiper.activeIndex) {
          var thumbsPerNav = Math.floor(previewSwiper.width / activeNav.width()) - 1
          previewSwiper.swipeTo(activeNav.index() - thumbsPerNav)
        } else {
          previewSwiper.swipeTo(activeNav.index())
        }
      }
    }
  </script>
</body>
</html>